package com.cskaoyan.mapper;

import com.cskaoyan.bean.pojo.ObjectStorage;
import com.cskaoyan.bean.pojo.ObjectStorageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ObjectStorageMapper {
    long countByExample(ObjectStorageExample example);

    int deleteByExample(ObjectStorageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ObjectStorage record);

    int insertSelective(ObjectStorage record);

    List<ObjectStorage> selectByExample(ObjectStorageExample example);

    ObjectStorage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ObjectStorage record, @Param("example") ObjectStorageExample example);

    int updateByExample(@Param("record") ObjectStorage record, @Param("example") ObjectStorageExample example);

    int updateByPrimaryKeySelective(ObjectStorage record);

    int updateByPrimaryKey(ObjectStorage record);
}